package com.boss.mapper;

import com.boss.entity.AddressClassify;
import org.apache.ibatis.annotations.Param;

import java.util.List;
//删除extends BaseMapper<BaseMapper>
public interface AddressClassifyMapper  {
    /**
     * 获取所有的城市
     * @param parentId 父级编号
     * @return 返回城市数据
     */
    List<AddressClassify> getAllAddressClassify1(@Param("parentId") Integer parentId);

    /**
     * 根据id获取城市
     * @param addressClassifyId 城市id
     * @return
     */
    AddressClassify getAddressClassifyById(@Param("addressClassifyId")Integer addressClassifyId);

}